<!doctype html>
<title>Switch statement</title>

<script>

var spellIsBroken = true;
var witchIsDead = true;

if(spellIsBroken && witchIsDead)
{
  console.log("Game Over!");
}
else
{
  console.log("Keep playing...");
}	
	
</script>